package com.ojoin.trade.common_core.web.dao;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.common_core.web.domain.TbMerchantUser;
import com.ojoin.trade.common_core.web.domain.TbMerchantUserBusinessType;

public interface TbMerchantUserDao extends BaseDao<TbMerchantUser> {

	public String queryNameByLoginNo(String loginNo)throws BusinessException;
	
	public TbMerchantUser queryUserByPaynow(String mchno)throws BusinessException;

	public int updateMhtInfoById(String userIdOfIPayNow, String mhtname, String mobile) throws BusinessException;
	
	public String selectTsByID(int id, String tablename) throws BusinessException;

    public  TbMerchantUser queryUserByCompany(int id)throws BusinessException;
    
    public TbMerchantUserBusinessType queryBusinessTypeByJoinuserId(int joinuserid) throws BusinessException;
	
    public int updateShortnameById(int joinuserid, String shortname) throws BusinessException;
	
}
